package com.peas.platform.module.icims.budget.apply.domain.impl;

import com.peas.platform.framework.mybatisplus.domain.BaseDomainImpl;
import com.peas.platform.framework.mybatisplus.repository.BaseRepository;
import com.peas.platform.module.icims.budget.apply.adapter.repository.BudgetTwoItemRepository;
import com.peas.platform.module.icims.budget.apply.adapter.repository.po.BudgetTwoItemPo;
import com.peas.platform.module.icims.budget.apply.domain.BudgetTwoItemDomain;
import com.peas.platform.module.icims.budget.apply.dto.BudgetTwoItemDto;
import org.springframework.stereotype.Component;

import javax.annotation.Resource;

@Component
public class BudgetTwoItemDomainImpl extends BaseDomainImpl<BudgetTwoItemDto, BudgetTwoItemPo> implements BudgetTwoItemDomain {

    @Resource
    private BudgetTwoItemRepository budgetTwoItemRepository;

    @Override
    public BaseRepository<BudgetTwoItemPo> getMapper() {
        return budgetTwoItemRepository;
    }

    @Override
    public Class<? extends BaseRepository<BudgetTwoItemPo>> getRepositoryClass() {
        return BudgetTwoItemRepository.class;
    }

}
